$(function(){
	middleTop('middleTop');
	middleBottom("middleBottom");
	investConstruct("investConstruct");
	Revenue("Revenue");
	industryShare("industryShare");
})
//投资建设性质分布
function investConstruct(id){
	var echartWidth = $(window).width() * 0.245;
	var echartHeight = $(window).height() * 0.255;
	// 基于准备好的dom，初始化echarts实例
	var myChart = echarts.init(document.getElementById(id));
	/*根据浏览器宽、高设置echarts 宽、高*/
	
	myChart.resize({
	    width: echartWidth,
	    height: echartHeight,
	});
	/*end*/
	// Schema:
	var dataXN = [
	    [155,195,156,146,118,168,100]
	];
	
	var dataHD = [
	    [26,37,27,163,27,13,71]
	];
	
	var dataHX = [
	    [91,45,125,82,34,23,15]
	];
	var dataHN =[[65,27,78,86,45,29,20]];
	var dataHB = [[106,77,114,107,55,51,59]];
	var dataHN = [[119,81,121,128,68,51,68]];
	var dataYS = [[109,71,121,108,68,57,45]];
	var dataGL = [[83,60,84,109,73,27,34]];
	var lineStyle = {
	    normal: {
	        width: 1,
	        opacity: 0.5
	    }
	};
	
	var options = {
	    //backgroundColor: '#161627',
	    title: {
	        /*text: '就业人员类别雷达图',
	        left: 'left',
	        textStyle: {
	        	fontSize: 16,
	            color: '#eee'
	        }*/
	    },
	    tooltip: {},
	    legend: {
	        /*bottom: 5,
	        data: ['西宁', '海东', '海南' ,'海北' ,'海西','黄南','玉树','果洛'],
	        itemGap: 15,
	        textStyle: {
	            color: '#fff',
	            fontSize: 12
	        },
	        selectedMode: 'single'//单选模式*/
	    },
	    
	    radar: {
	        indicator: [
	            {name: '新建', max: 300 ,value: 155},
	            {name: '扩建', max: 250,value: 195},
	            {name: '改建', max: 300,value: 156},
	            {name: '迁建', max: 500,value: 146},
	            {name: '其他', max: 200,value: 118},
	        ],
	        center: ['50%','50%'],
	        radius: 50,//雷达图半径大小
	        //shape: 'circle',
	        startAngle: 90,
	        splitNumber: 5,//雷达图圈数
	        name: {
	        	show: true,
	        	color: '#FFFFFF',
	        	formatter:function(value,indicator){
//	        		console.log(indicator);
	        		return value+'('+indicator.value+')';
	        	},
	            textStyle: {
	                color: 'rgb(241, 183, 50)',
	            }
	        },
	        axisLine: {
	            show: true,
	            lineStyle: {
	                type: 'solid'
	            }
	        },
	        splitLine: {//网络上的线的颜色
	            lineStyle: {
	                color: [
	                    'rgba(238, 197, 102, 0.1)', 'rgba(238, 197, 102, 0.2)',
	                    'rgba(238, 197, 102, 0.4)', 'rgba(238, 197, 102, 0.6)',
	                    'rgba(238, 197, 102, 0.8)', 'rgba(238, 197, 102, 1)'
	                ].reverse()
	            }
	        },
	        splitArea: {//网络区域背景颜色
	            show: true,
	            areaStyle: {
	            	color: [
	                    'rgba(238, 197, 102, 0.1)', 'rgba(238, 197, 102, 0.2)',
	                    'rgba(238, 197, 102, 0.4)', 'rgba(238, 197, 102, 0.6)',
	                    'rgba(238, 197, 102, 0.8)', 'rgba(238, 197, 102, 1)'
	                ].reverse()
	            }
	        },
	        axisLine: {
	            lineStyle: {
	                color: 'rgba(238, 197, 102, 0.5)'
	            }
	        }
	    },
	    series: [
	        {
	            name: '建设性质',
	            type: 'radar',
	            lineStyle: lineStyle,
	            data: dataXN,//区域数据
	            symbol: 'circle',
	            showSymbol: true,//显示拆线上的圆点
	            label: {//显示拆线点上的数值
	            	normal: {
	            		show: false,
	            		formatter: function(params){
	            			return params.value;
	            		},
	            		color: '#fff'
	            	}
	            },
	            itemStyle: {//每个方向上的点的样式
	                normal: {
	                    color: '#4caf50'
	                }
	            },
	            areaStyle: {
	                normal: {
	                	color: '#4caf50',
	                    opacity: 0.5
	                }
	            }
	        }
	    ]
	};
	// 使用刚指定的配置项和数据显示图表。
	myChart.setOption(options);
}
//财政收入来源饼图
function Revenue(id){
	var echartWidth = $(window).width() * 0.265;
	var echartHeight = $(window).height() * 0.255;
	// 基于准备好的dom，初始化echarts实例
	var myChart = echarts.init(document.getElementById(id));
	/*根据浏览器宽、高设置echarts 宽、高*/
	
	myChart.resize({
	    width: echartWidth,
	    height: echartHeight,
	});
	/*end*/
	var labelTop = {
	    normal : {
	        label : {
	            show : true,
	            position : 'center',
	            formatter : '{b}',
	            textStyle: {
	                baseline : 'bottom'
	            }
	        },
	        labelLine : {
	            show : false
	        }
	    }
	};
	var labelFromatter = {
	    normal : {
	        label : {
	        	show: false,
	        	position: 'center',
//	        	color: '#ffffff',
	            formatter : function (params){
//	            	console.log(params);
	                return 100 - params.value + '%'
	            },
	            textStyle: {
	                baseline : 'top',
	                fontSize: 12
	            }
	        }
	    },
	}
	var labelBottom = {
	    normal : {
	        color: '#ccc',
	        label : {
	            show : true,
	            position : 'center'
	        },
	        labelLine : {
	            show : false
	        }
	    },
	    emphasis: {
	        color: 'rgba(0,0,0,0)'
	    }
	};
	var radius = [30, 35];
	var options = {
		color:['#f54d4d','#f87544','#ffae00','#dcff00','#25d053','#01fff5','#007cff','#4245ff','#c32eff','#ff62e8'],
	    legend: {
	    	show: false,
	        x : 'center',
	        y : 'center',
	        data:[
	            '税收收入', '社保基金', '贷款转借', '债务收入', '政府基金', '转移性收入'
	        ]
	    },
	    title : {
	        /*text: '各类型电影中“好片”所占比重',
	        subtext: '原始数据来自豆瓣',
	        x: 'center'*/
	    },
	    
	    series : [
	        {
	            type : 'pie',
	            center : ['20%', '25%'],
	            radius : radius,
	            x: '0%', // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:75, itemStyle : labelBottom},
	                {name:'税收收入', value:25,itemStyle : labelTop}
	            ]
	        },
	        {
	            type : 'pie',
	            center : ['50%', '25%'],
	            radius : radius,
	            x:'20%', // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:76, itemStyle : labelBottom},
	                {name:'社保基金', value:24,itemStyle : labelTop}
	            ]
	        },
	        {
	            type : 'pie',
	            center : ['80%', '25%'],
	            radius : radius,
	            x:'40%', // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:86, itemStyle : labelBottom},
	                {name:'贷款转借', value:14,itemStyle : labelTop}
	            ]
	        },
	        {
	            type : 'pie',
	            center : ['20%', '75%'],
	            radius : radius,
	            x:'60%', // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:89, itemStyle : labelBottom},
	                {name:'债务收入', value:11,itemStyle : labelTop}
	            ]
	        },
	        {
	            type : 'pie',
	            center : ['50%', '75%'],
	            radius : radius,
	            x:'80%', // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:73, itemStyle : labelBottom},
	                {name:'政府基金', value:27,itemStyle : labelTop}
	            ]
	        },
	        {
	            type : 'pie',
	            center : ['80%', '75%'],
	            radius : radius,
	            y: '55%',   // for funnel
	            x: '0%',    // for funnel
	            itemStyle : labelFromatter,
	            data : [
	                {name:'other', value:85, itemStyle : labelBottom},
	                {name:'转移性收入', value:15,itemStyle : labelTop}
	            ]
	        }
	    ]
	};
	// 使用刚指定的配置项和数据显示图表。
	myChart.setOption(options);
}
//三大产业占比
function industryShare(id){
	var echartWidth = $(window).width() * 0.145;
    var echartHeight = $(window).height() * 0.25;
    //初始化echarts
    var myChart = echarts.init(document.getElementById(id));
    myChart.resize({
        width: echartWidth,
        height: echartHeight,
    });
    var option = {
        title : {
//          text: '人员身份构成比例',
//          textStyle:{
//              color:'#fff'
//          }
            //subtext: '纯属虚构',
            //x:'center'
        },
        color: ["#ed4743", "#54ba9b", "#f48b38", "#35acfe","#f467ce"],
        tooltip : {
            trigger: 'item',
            formatter: "{a} <br/>{b} : {c} ({d}%)"
        },
        legend: {
//          right:'right',
            x : 'center',
            y : 'bottom',
            data:['第一产业','第二产业','第三产业'],
            itemWidth: 15,
            textStyle:{
                color:"#fff",
                fontSize: 10
            }
        },
        grid: {
            left: '5%',
            right: '5%',
            // top: '20%',
        	bottom: '5%',
            containLabel: true
        },
        /* toolbox: {
             show : true,
             feature : {
                 mark : {show: true},
                 dataView : {show: true, readOnly: false},
                 magicType : {
                     show: true,
                     type: ['pie', 'funnel']
                 },
                 restore : {show: true},
                 saveAsImage : {show: true}
             }
         },*/
        calculable : true,
        series : [

            {
                name:'面积模式',
                type:'pie',
                radius : [15, 45],
                center : ['46%', '35%'],
                roseType : 'radius',
                itemStyle: {
                	normal:{
                		label:{
                			show: true,
                			formatter: '({d}%)',
                			fontSize: 10
                		},
                		labelLine:{
		                	show: true,
		                	length: 5,
		                	length2: 5
		                },
                	}
                },
                
                data:[
                    {value:10, name:'第一产业'},
                    {value:5, name:'第二产业'},
                    {value:15, name:'第三产业'},
                ]
            }
        ]
    };
    myChart.setOption(option);
}
//极坐标柱形图
function middleTop(id) {
	var echartWidth = $(window).width() * 0.487
	var echartHeight = $(window).height() * 0.600
	var myChart = echarts.init(document.getElementById(id))
	myChart.resize({
	    width: echartWidth,
	    height: echartHeight,
	})
	var data = [{
            value: 87,
            label:{
            	
            	position: 'inside'
            },
            itemStyle: {
                normal: {
                    color: "#f54d4d"
                }
            }
        },]
	var options = {
		tooltip: {
	        trigger: 'item',
	        padding: 10,
//	        backgroundColor: '#222',
	        borderColor: '#777',
	        borderWidth: 1,
	        formatter: function(params){
//	        	console.log(params);
	        	return '连云港'+params.name+'年</br>财政收入：'+params.value+'亿元';
	        },
	
	    },
	    angleAxis: {
	        interval: 1,
	        type: 'category',
	        data: ['2008',
	            '2009',
	            '2010',
	            '2011',
	            '2012',
	            '2013',
	            '2014',
	            '2015',
	            '2016',
	            '2017 ',
	        ],
	        z: 10,
	        axisLine: {
	            show: false,
	            lineStyle: {
	                color: "#00c7ff",
	                width: 1,
	                type: "solid"
	            },
	        },
	        axisLabel: {
	            interval: 0,
	            inside: false,
	            show: true,
	            color: "#00c7ff",
	            margin: 8,
	            fontSize: 12
	        },
	        splitLine: {
	        	show: false,
	            lineStyle: {
	                color: "#00c7ff",
	                width: 1,
	                type: "solid"
	            }
	        }
	    },
	    radiusAxis: {
	        min: 0,
	        max: 240,
	        interval: 20,
	        axisLine: {//垂直0度分割线
	            show: false,
	            lineStyle: {
	                color: "#00c7ff",
	                width: 1,
	                type: "solid"
	            },
	        },
	        axisLabel: {
	            formatter: '{value} %',
	            show: false,
	            padding: [0, 0, 20, 0],
	            color: "#00c7ff",
	            fontSize: 12
	        },
	        splitLine: {
	        	show: true,
	            lineStyle: {
	                color: "#00c7ff",
	                width: 1,
	                type: "solid"
	            }
	        }
	    },
	    polar: {
	    	center: ['50%', '55%'],
	    	radius: 150
	    },
	    series: [{
	        type: 'bar',
	        coordinateSystem: 'polar',
	        center: ['50%', '55%'],
	        itemStyle:{
	        	normal:{
	        		borderWidth: 1,
	        		borderColor: '#ffffff'
	        	},
	        	emphasis:{
	        		borderWidth:0,
	        		shadowBlur: 10,
	        		shadowOffsetX:0,
	        		shadowColor: 'rgba(0, 0, 0, 0.5)'
	        	}
	        },
	        
	        data: [{
	                value: 97,
	                
	                itemStyle: {
	                    normal: {
	                        color: "#f54d4d"
	                    }
	                }
	            },
	            {
	                value: 108,

	                itemStyle: {
	                    normal: {
	                        color: "#f87544"
	                    }
	                }
	            },
	            {
	                value: 115,
	                itemStyle: {
	                    normal: {
	                        color: "#ffae00"
	                    }
	                }
	            },
	            {
	                value: 129,
	                itemStyle: {
	                    normal: {
	                        color: "#dcff00"
	                    }
	                }
	            },
	            {
	                value: 133,
	                itemStyle: {
	                    normal: {
	                        color: "#25d053"
	                    }
	                }
	            },
	            {
	                value: 154,
	                itemStyle: {
	                    normal: {
	                        color: "#01fff5"
	                    }
	                }
	            },
	            {
	                value: 187,
	                itemStyle: {
	                    normal: {
	                        color: "#007cff"
	                    }
	                }
	            },
	            {
	                value: 200,
	                itemStyle: {
	                    normal: {
	                        color: "#4245ff"
	                    }
	                }
	            },
	            {
	                value: 215,
	                itemStyle: {
	                    normal: {
	                        color: "#c32eff"
	                    }
	                }
	            },
	            {
	                value: 233,
	                itemStyle: {
	                    normal: {
	                        color: "#ff62e8"
	                    }
	                }
	            }
	        ],
	        
	    },{
	        type: 'gauge',//仪表盘图形
	        name: '同比去年',
	        startAngle: 220,
	        endAngle: -40,
	        radius: '25%',
	        center: ['90%', '30%'], // 右上方  
	        min: 0,
	        max: 1000,
	        //坐标轴线
	        axisLine: {
	            show: true,
	            lineStyle: {
	                width: 10,
	                shadowBlur: 0,
	                color: [
	                    [0.2, '#3e8bff'],
	                    [0.4, '#00d39f'],
	                    [0.6, '#FFCA4B'],
	                    [0.8, '#FF790D'],
	                    [1.0, '#ff5a00'],
	                    [1.2, '#CC3399'],
	                    [1.4, '#FF6666'],
	                    [1.6, '#6600FF'],
	                    [1.8, '#3e8bff'],
	                    [2.0, '#00d39f'],
	                    [2.2, '#FFCA4B']
	                ]
	            }
	        },
	        //仪表盘小刻度标签
	        axisTick: {
	            show: true,
	            lineStyle:{
	            	color: '#FFFFFF',
	            	width: 1,
	            	type: 'solid'
	            },
				length: 4
	        },
	        //分割线刻度样式 
	        splitLine: {
	            show: true,
	            length: 5,
	            lineStyle:{
	            	color: '#FFFFFF'
	            }
	        },
	        //仪表盘轴线
	        axisLabel: {
	            show: false
	        },
	        //中心点的指针
	        pointer: {
	            show: false,
	            width: 5
	        },
	        //分割线样式
	        detail: {
	            show: true,
	            offsetCenter: [0, 0],
	            textStyle: {
	                fontSize: 18,
	                
	            },
	            formatter:'{value}\n亿',
                color: '#00c7ff'
	        },
	        title: {
	        	show: true,
	        	offsetCenter: [0,'90%'],
	        	textStyle:{
	        		color: '#ffffff',
	        		fontSize: 12
	        	}
	        },
	        itemStyle: {
	            normal: {
	                color: "#03B7C9",
	            }
	        },
	        data: [{
	        	name: '当年公共预算支出',
	            value: 436.88
	        }]
	    },{
	        type: 'gauge',
	        startAngle: 220,
	        endAngle: -40,
	        radius: '25%',
	        center: ['10%', '30%'], // 左上方 
	        min: 0,
	        max: 1000,
	        //坐标轴线
	        axisLine: {
	            show: true,
	            lineStyle: {
	                width: 10,
	                shadowBlur: 0,
	                color: [
	                    [0.2, '#3e8bff'],
	                    [0.4, '#00d39f'],
	                    [0.6, '#FFCA4B'],
	                    [0.8, '#FF790D'],
	                    [1.0, '#ff5a00'],
	                    [1.2, '#CC3399'],
	                    [1.4, '#FF6666'],
	                    [1.6, '#6600FF'],
	                    [1.8, '#3e8bff'],
	                    [2.0, '#00d39f'],
	                    [2.2, '#FFCA4B']
	                ]
	            }
	        },
	        //仪表盘小刻度标签
	        axisTick: {
	            show: true,
	            lineStyle:{
	            	color: '#FFFFFF',
	            	width: 1,
	            	type: 'solid'
	            },
				length: 4
	        },
	        //分割线刻度样式 
	        splitLine: {
	            show: true,
	            length: 5,
	            lineStyle:{
	            	color: '#FFFFFF'
	            }
	        },
	        //仪表盘轴线
	        axisLabel: {
	            show: false
	        },
	        //中心点的指针
	        pointer: {
	            show: false,
	            width: 5
	        },
	        //分割线样式
	        detail: {
	            show: true,
	            offsetCenter: [0, 0],
	            textStyle: {
	                fontSize: 18,
	                
	            },
	            formatter:'{value}\n亿',
                color: '#00c7ff'
	        },
	        title: {
	        	show: true,
	        	offsetCenter: [0,'90%'],
	        	textStyle:{
	        		color: '#ffffff',
	        		fontSize: 12
	        	}
	        },
	        itemStyle: {
	            normal: {
	                color: "#03B7C9",
	            }
	        },
	        data: [{
	        	name: '当年公共预算收入',
	            value: 436.88
	        }]
	    },{
	        type: 'gauge',
	        startAngle: 220,
	        endAngle: -40,
	        radius: '25%',
	        center: ['10%', '75%'], // 左下方 
	        min: 0,
	        max: 1000,
	        //坐标轴线
	        axisLine: {
	            show: true,
	            lineStyle: {
	                width: 10,
	                shadowBlur: 0,
	                color: [
	                    [0.2, '#3e8bff'],
	                    [0.4, '#00d39f'],
	                    [0.6, '#FFCA4B'],
	                    [0.8, '#FF790D'],
	                    [1.0, '#ff5a00'],
	                    [1.2, '#CC3399'],
	                    [1.4, '#FF6666'],
	                    [1.6, '#6600FF'],
	                    [1.8, '#3e8bff'],
	                    [2.0, '#00d39f'],
	                    [2.2, '#FFCA4B']
	                ]
	            }
	        },
	        //仪表盘小刻度标签
	        axisTick: {
	            show: true,
	            lineStyle:{
	            	color: '#FFFFFF',
	            	width: 1,
	            	type: 'solid'
	            },
				length: 4
	        },
	        //分割线刻度样式 
	        splitLine: {
	            show: true,
	            length: 5,
	            lineStyle:{
	            	color: '#FFFFFF'
	            }
	        },
	        //仪表盘轴线
	        axisLabel: {
	            show: false
	        },
	        //中心点的指针
	        pointer: {
	            show: false,
	            width: 5
	        },
	        //分割线样式
	        detail: {
	            show: true,
	            offsetCenter: [0, 0],
	            textStyle: {
	                fontSize: 18,
	                
	            },
	            formatter:'{value}%',
                color: '#00c7ff'
	        },
	        title: {
	        	show: true,
	        	offsetCenter: [0,'90%'],
	        	textStyle:{
	        		color: '#ffffff',
	        		fontSize: 12
	        	}
	        },
	        itemStyle: {
	            normal: {
	                color: "#03B7C9",
	            }
	        },
	        data: [{
	        	name: '同比去年',
	            value: 8.4
	        }]
	    },{
	        type: 'gauge',
	        startAngle: 220,
	        endAngle: -40,
	        radius: '25%',
	        center: ['90%', '75%'], // 右下方
	        min: 0,
	        max: 1000,
	        //坐标轴线
	        axisLine: {
	            show: true,
	            lineStyle: {
	                width: 10,
	                shadowBlur: 0,
	                color: [
	                    [0.2, '#3e8bff'],
	                    [0.4, '#00d39f'],
	                    [0.6, '#FFCA4B'],
	                    [0.8, '#FF790D'],
	                    [1.0, '#ff5a00'],
	                    [1.2, '#CC3399'],
	                    [1.4, '#FF6666'],
	                    [1.6, '#6600FF'],
	                    [1.8, '#3e8bff'],
	                    [2.0, '#00d39f'],
	                    [2.2, '#FFCA4B']
	                ]
	            }
	        },
	        //仪表盘小刻度标签
	        axisTick: {
	            show: true,
	            lineStyle:{
	            	color: '#FFFFFF',
	            	width: 1,
	            	type: 'solid'
	            },
				length: 4
	        },
	        //分割线刻度样式 
	        splitLine: {
	            show: true,
	            length: 5,
	            lineStyle:{
	            	color: '#FFFFFF'
	            }
	        },
	        //仪表盘轴线
	        axisLabel: {
	            show: false
	        },
	        //中心点的指针
	        pointer: {
	            show: false,
	            width: 5
	        },
	        //分割线样式
	        detail: {
	            show: true,
	            offsetCenter: [0, 0],
	            textStyle: {
	                fontSize: 18,
	                
	            },
	            formatter:'{value}%',
                color: '#00c7ff'
	        },
	        title: {
	        	show: true,
	        	offsetCenter: [0,'90%'],
	        	textStyle:{
	        		color: '#ffffff',
	        		fontSize: 12
	        	}
	        },
	        itemStyle: {
	            normal: {
	                color: "#03B7C9",
	            }
	        },
	        data: [{
	        	name: '同比去年',
	            value: 12.8
	        }]
	    }]
	}
	myChart.setOption(options)
}//
function middleBottom(id) {
	var echartWidth = $(window).width() * 0.487
	var echartHeight = $(window).height() * 0.250
	var myChart = echarts.init(document.getElementById(id))
	myChart.resize({
	    width: echartWidth,
	    height: echartHeight,
	})
	var data = [{
					name: '2008',
	                value: 87,
	            },
	            {
	            	name: '2009',
	                value: 90,
	            },
	            {
	            	name: '2010',
	                value: 115,
	            },
	            {
	            	name: '2011',
	                value: 129,
	            },
	            {
	            	name: '2012',
	                value: 133,
	            },
	            {
	            	name: '2013',
	                value: 154,
	            },
	            {
	            	name: '2014',
	                value: 167,
	            },
	            {
	            	name: '2015',
	                value: 174,
	            },
	            {
	            	name: '2016',
	                value: 189,
	            },
	            {
	            	name: '2017',
	                value: 213,
	            }
	        ]
	var options = {
		color:['#01fff5'],
		tooltip: {
	        trigger: 'axis',
	        axisPointer: {
	            type: 'line',
	            lineStyle: {
	                opacity: 0
	            }
	        },
	        formatter: function(params) {
	        	console.log(params);
	            return params.name+'年\n收入'+params.value+'亿元'
	        }
	    },
	    grid: {
	    	top: '20%',
	        left: '3%',
	        right: '4%',
	        bottom: '5%',
	        containLabel: true
	    },
	    xAxis: [{
            type: 'category',
            axisTick : {show: false},
            axisLabel:{
	        	fontSize:10
	        },
            axisLine: {
                show: true,
                lineStyle:{
                    color:'#fff',
                }
            },
            data: ['2008','2009','2010','2011','2012','2013','2014','2015','2016','2017']
        }],
	    yAxis: [{
	    	type: 'value',
	    	name: '亿元',
	        axisTick : {show: false},
	        axisLabel:{
	        	fontSize:10
	        },
	        axisLine: {
	            show: false,
	            lineStyle:{
	                color:'#fff',
	            }
	        },
	        splitLine: {
	            show: false
	        }
	    }],
	    series: [{
	        type: 'bar',
	        barWidth: '40%',
	        label: {
                normal: {
                    show: true,
                    position: "top",
                    formatter: '{c}亿',
                    textStyle: {
                        color: "#ffc72b",
                        fontSize: 12
                    }
                }
            },
	        data: data
	    }]
	}
	myChart.setOption(options)
}